package com.wolan;

import com.wolan.rpc.server.HelloService;

/**
 * Created by fei.chen on 2016/4/5.
 */
public class TypeTest implements HelloService {

    public static void main(String[] args) {
        TypeTest typeTest = new TypeTest();
        Class typeTestClass = typeTest.getClass();
        System.out.println(typeTestClass.getSuperclass().getName());
        Class[] interfaces = typeTestClass.getInterfaces();
        for (Class s : interfaces) {
            System.out.println(s.getName());
        }
        byte i = 1;
        //i = i+1;
        i += 127;
        System.out.println(i);

        //short a = 1;
        //short b = 1;
        //short c = a + b;

    }

    public String hello(String name) {
        return null;
    }
}
